Dashboard
General Report
FromInventory In
prepare("select * from inventory_main where date_in BETWEEN '$date1' and '$date2'") ; $getd->execute() ; while($row = $getd->fetch(pdo::FETCH_ASSOC)) { $tcost[] = $row['gross_total'] ; $sales[] = $row['invent_id'] ; //$salesdept[] = $row['sales_dept'] ; } ?>| SN | INVENT ID | CATEGORY | ITEMS | MEASURE | QUANTITY | UNIT-COST | TOTAL-COST |
| Grand Total |
Inventory out
prepare("select * from outmain where dateout BETWEEN '$date1' and '$date2'") ; $getd->execute() ; while($row = $getd->fetch(pdo::FETCH_ASSOC)) { //$tcost[] = $row['amount'] ; $sales[] = $row['inventout_id'] ; $salesdept[] = $row['department'] ; } ?>| SN | INVENTOUT ID | CATEGORY | ITEMS | MEASURE | QUANTITY |
Inventory Transfer
prepare("select * from transfer_main where tranfer_date BETWEEN '$date1' and '$date2'") ; $getd->execute() ; while($row = $getd->fetch(pdo::FETCH_ASSOC)) { //$tcost[] = $row['amount'] ; $tsales[] = $row['transfer_id'] ; $release[] = $row['release_dept'] ; $receive[] = $row['receiving_dept'] ; } ?>| SN | TRANSFER ID | CATEGORY | ITEMS | MEASURE | QUANTITY |
Sales Report
prepare("select * from salesmain where (sales_date BETWEEN '$date1' and '$date2') ") ; $getd->execute() ; while($row = $getd->fetch(pdo::FETCH_ASSOC)) { $tcostx[] = $row['amount'] ; $salesx[] = $row['sales_id'] ; $salesdeptx[] = $row['sales_dept'] ; } ?>| SN | SALES ID | CATEGORY | ITEMS | QUANTITY | UNIT-COST | TOTAL-COST |
| Grand Total |
Sales (BBQ, SHAWARMA, SUYA SPOT, SWIMMING, SNOKER, KITCHEN)
| SN | DATE | DEPARTMENT | ITEM | AMOUNT |
| Grand Total |
Room Bookings
| SN | BOOKING-ID | CUSTOMER | ROOM NO | CHECK-IN | CHECK-OUT | GUEST NO | AMOUNT |
| Grand Total |
Expensis Report
| SN | EXPENSIS DATE | DEPARTMENT | AMOUNT | PURPOSE |
| Grand Total |
PayRoll Report
| SN | STAFF_ID | STAFF NAME | POSITION | BS | TA | HA | WA | MA | OA | GS | TAX | LD | SA | OD | NET SALARY |
| prepare("select * from staff_table where staff_id_no =:a") ; $stname->bindparam(":a",$stf) ; $stname->execute() ; $rname = $stname->fetch(pdo::FETCH_ASSOC) ; $staffname = $rname['names'] ; ?> | prepare("select * from deductions where ((staff_id = '$stf' and deduction = 'LD') and (pyear='$dy' and pmonth='$dm'))") ; $loan->execute() ; if($loan->rowcount() > 0) { $lrow = $loan->fetch(pdo::FETCH_ASSOC) ; $lds =$lrow['amount'] ; } else { $lds = 0 ; } echo $lds ; ?> | prepare("select * from deductions where ((staff_id = '$stf' and deduction = 'SA') and (pyear='$dy' and pmonth='$dm'))") ; $sad->execute() ; if($sad->rowcount() > 0) { $lrows = $sad->fetch(pdo::FETCH_ASSOC) ; $sads =$lrows['amount'] ; } else { $sads = 0 ; } echo $sads ; ?> | prepare("select * from deductions where ((staff_id = '$stf' and deduction = 'OD') and (pyear='$dy' and pmonth='$dm'))") ; $odd->execute() ; if($odd->rowcount() > 0) { $orow = $odd->fetch(pdo::FETCH_ASSOC) ; $oddn =$orow['amount'] ; } else { $oddn = 0 ; } echo $oddn ; ?> | ||||||||||||
| Total Gross :N | Total Tax :N | Total NS :N |
Summary
| SN | DEPARTMENT | INCOME | EXPENDITURES |